﻿@model EasyGo.Web.Models.Login

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <link href="~/Content/css/metro/bootstrap/metro-bootstrap.css" rel="stylesheet" type="text/css" />
    <link href="~/Content/css/Site.css" rel="stylesheet" type="text/css" />
    <title>LogIn</title>
</head>
    <body>
        <div class="container">
            <div class="span6">
                <h1>Easy Go!</h1>
                @using (Html.BeginForm("Login","Account",FormMethod.Post, new { @class = "form-horizontal" }))
                {
                    @Html.AntiForgeryToken()
                    <fieldset>
                        <legend>@Loc.LogInTitle</legend>
                        @Html.ValidationSummary(false)
                        <div class="control-group">
                            @Html.LabelFor(model => model.Email,@Loc.Email, new { @class = "control-label" })
                            <div class="controls">
                                @Html.TextBoxFor(x => x.Email, new { @class = "input-xlarge focused", autofocus =""})
                            </div>
                        </div>
                        <div class="control-group">
                            @Html.LabelFor(x => x.Password, @Loc.Password,new {@class="control-label"})
                            <div class="controls">
                                @Html.PasswordFor(x => x.Password, new { @class = "input-xlarge focused" })
                            </div>
                        </div>
                        <div class="control-group">
                            <div class="controls">
                                <label class="checkbox inline">
                                    @Html.CheckBoxFor(m => m.RememberMe)
                                    Remember me?
                                </label>
                            </div>
                        </div>
                        <div class="form-actions">
                            <button class="btn btn-primary" type="submit">Log in</button>
                        </div>
                    </fieldset>
                }
            </div>
        </div>
    </body>
</html>
